STRUCT

rate_limit_config

Represents the rate limit configuration found on the chromia.yml file. It can be modified under moduleArgs -> lib.ft4.core.accounts -> rate_limit

struct rate_limit_config {

is rate limiting active

active: boolean = 1;

how many points at a maximum can an account have by default

max_points: integer = 10;

how many milliseconds elapse before restoring one point

recovery_time: integer = 5000;

what's the starting amount of points when an account is created

points_at_account_creation: integer = 1;
}
© 2024 Chromia